FROM registry.cn-hangzhou.aliyuncs.com/xiaoyilin/java21:0.9-d132slim
LABEL author=xiaoyilin
LABEL email=406735078@qq.com
ADD hivemq-ce-2025.5.tar.gz /usr/local/
WORKDIR /usr/local/hivemq-ce-2025.5/bin
CMD ["./run.sh","start"]


# https://github.com/hivemq/hivemq-community-edition
# https://github.com/hivemq/hivemq-community-edition/wiki
# https://www.hivemq.com/products/extensions/
# tar -czvf hivemq-ce-2025.5.tar.gz hivemq-ce-2025.5/
# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/hivemq:2025.5 .
# docker run -p 1883:1883 --rm registry.cn-hangzhou.aliyuncs.com/xiaoyilin/hivemq:2025.5
# docker run --rm -it registry.cn-hangzhou.aliyuncs.com/xiaoyilin/hivemq:2025.5 bash
# docker run -d -p 1883:1883 -it registry.cn-hangzhou.aliyuncs.com/xiaoyilin/hivemq:2025.5
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/hivemq:2025.5
# docker pull registry.cn-hangzhou.aliyuncs.com/xiaoyilin/hivemq:2025.5